<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
	<title>模块化设计</title>
	<style type="text/css">
	* {
		padding: 0;
		margin: 0;
	}
</style>
</head>
<body>
<button>后盾人</button>
<div id="container" class="container">
	<h1>模块化设计</h1>
	<div class="box">
		<button message="后盾人">button</button>
		<button message="hdcms">button</button>
	</div>
</div>

<script type="module">
	 // 导入houdunren.js 模块
	 import "./modules/houdunren.js"

	 // 导入 hd.js模块
	 import * as api from "./modules/hd.js";
	  console.log(api.site);
	  console.log(api.User);
</script>



<!-- <script src="index.js"></script> -->
<script type="text/javascript">

</script>
</body>
</html>